OpenStack Mitaka : Openstack Packstack
2016/05/13 |
Build Openstack Allinone Environment quickly by Packstack.
It's possible to build it with a command. |
|
[1] | The requirements are CentOS 7 Base and Openstack Mitaka Repo & EPEL Repo and Packstack package only. Other packages are installed and configured by Packstack automatically. |
[root@dlp ~]# yum -y install centos-release-openstack-mitaka epel-release [root@dlp ~]# yum -y install openstack-packstack
|
[2] | Execute Packstack like follows. |
[root@dlp ~]# packstack --allinone |
[3] | Keystone, Glance, Nova, Neutron, Swift, Cinder Ceilometer are installed and configured by packstack like follows. But if you'd like to install more components like Trove or Sagara and others, it's possible to specify options with packstack command. |
[root@dlp ~]# source keystonerc_admin [root@dlp ~(keystone_admin)]# openstack user list +----------------------------------+------------+ | ID | Name | +----------------------------------+------------+ | 3c0812ed29454c39908b6e01e24c1097 | admin | | e26a9588a3a944e3872bc5c8b433de51 | neutron | | faf5588f2b3c41cea97a63d42005d51b | gnocchi | | 9bfe44ec3b6a4e12b1276c078997a51c | aodh | | ae06b5514b6c4f2ab95190e97a8131c4 | nova | | 85584f0854bd48199b0dde66fc55d2d8 | glance | | 3f03fcfc5d854391a900d635220a3629 | ceilometer | | e9814c3dda96416caa9e895863d33adf | cinder | | 155323e6d93044baa7a9b915b9523bca | swift | | afd1fe6ee9064fad993b5435c8a791fe | demo | +----------------------------------+------------+[root@dlp ~(keystone_admin)]# openstack project list +----------------------------------+----------+ | ID | Name | +----------------------------------+----------+ | 0a888e3de0c34403b40bb375d8e0e528 | admin | | 0e703a621ee14bf38612e1b9517432ad | services | | 5f56a9937cff4b139fd6d3527aac7188 | demo | +----------------------------------+----------+[root@dlp ~(keystone_admin)]# openstack service list +----------------------------------+---------------+--------------+ | ID | Name | Type | +----------------------------------+---------------+--------------+ | 1e88962f3dd9446a924aa2d014c9a90c | Image Service | image | | 263c7bfbaeae4dbdb694ae192e935810 | cinderv3 | volumev3 | | 29fe4d4175ca4bb4989da2323e0307f0 | nova | compute | | 3ee7d9e5802140d783d1f6570a2b2335 | cinder | volume | | 69424db3db594675b348f0c6dcf529ea | novav3 | computev3 | | 6a59d91529ef40e49e866d6ce7c84eab | gnocchi | metric | | 74c4a798af2d4f84a77a4c2435eccd7f | neutron | network | | 848d8080363c480f9e1b3d624dd3c1bb | keystone | identity | | 89719020b04c426e9fc0b775c1d110b4 | ceilometer | metering | | b90a696fba9f4425bc07fd75883fc06b | swift | object-store | | d22cafb15f504b00a1c26df2355b5660 | cinderv2 | volumev2 | | d6ea090aa32b4b3f879903a8398e92c3 | aodh | alarming | +----------------------------------+---------------+--------------+[root@dlp ~(keystone_admin)]# openstack endpoint list +----------------------------------+-----------+---------------+--------------+ | ID | Region | Service Name | Service Type | +----------------------------------+-----------+---------------+--------------+ | ebed4c96dc6d46be92eef5bb68a21e0d | RegionOne | aodh | alarming | | 2d97ce78d7384fbb99e1e2f7ec2481df | RegionOne | cinderv2 | volumev2 | | 8cf78e2c6d6c4a2585528c726f29772d | RegionOne | Image Service | image | | db67f333a7fe4595a09bd1e1a521bf7e | RegionOne | nova | compute | | cb9fd4994fa84ee69d588614c75d529f | RegionOne | neutron | network | | acfbd2562dab48dbaf064c112368ddd0 | RegionOne | cinder | volume | | fb43dc2d83644da6ad87c351edbd2732 | RegionOne | novav3 | computev3 | | 1c639dc34b164e6783966bdf0272893d | RegionOne | keystone | identity | | 93dc372db38a400cabb5fe08a16e0bfc | RegionOne | swift | object-store | | 4b9531b334814399944cae159a8f004e | RegionOne | cinderv3 | volumev3 | | 2bd1ca4ff60340e0887a047a4315178b | RegionOne | ceilometer | metering | | fc3b3ccb1db1483fb03c7a55cf8bbc09 | RegionOne | gnocchi | metric | +----------------------------------+-----------+---------------+--------------+ |